package com.victualler.core.config.dict.repository;


import com.victualler.core.base.repository.IBaseQueryRepository;
import com.victualler.core.config.dict.dto.DictTopDto;
import com.victualler.core.config.dict.entity.DictDao;

import java.util.List;


/**
 * @Aouthor Guoshichang
 * @Date 9:34 on 2018/6/27.
 * @Function 封装用于复杂sql查询的API. 为每个实体的repository层提供便利操作
 */
public interface DictQueryRepository extends IBaseQueryRepository<DictDao,Long> {
    /**
     * @author Guoshichang
     * @since 20:26 on 2018/8/27.
     * @param codeType 字典类型
     * @return List
     * @Function 根据codeType 模糊查询
     */
    public List<DictTopDto> getDictTopDtoList(String codeType);
}
